package com.tianhao.luo.nouse.enumsingleton;

import java.io.*;

/**
 * @Date 2019/12/10
 * @Author tianhao.luo
 * @Description
 */
public enum EnumSingleton implements Serializable {
    // 不支持反射
    INSTANCE;

    public void print(){
        System.out.println(this.hashCode());
    }
}
